﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Mailing.aspx.cs" Inherits="ControlYSeguimiento_Web_App.Mailing.Mailing" %>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
<asp:Label Id="lblMailingError" Text="text" CssClass="bigFailureNotification" Visible="false" runat="server" />
<div class="LoginFieldGreen">
    <asp:Literal ID="LiteralProspectName" Text="Your name" runat="server" />
</div>
<div>
    <asp:TextBox ID="TextBoxProspectName" runat="server" /><asp:RequiredFieldValidator Display="Dynamic" ControlToValidate="TextBoxProspectName" runat="server" CssClass="failureNotification" ErrorMessage="It is mandatory to fill this field"></asp:RequiredFieldValidator>
</div>
<div class="LoginFieldGreen">
    <asp:Literal ID="LiteralMail" Text="Mail" runat="server" />
</div>
<div>
    <asp:TextBox ID="TextBoxMail" runat="server" /><asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator1" ControlToValidate="TextBoxProspectName" runat="server" CssClass="failureNotification" ErrorMessage="It is mandatory to fill this field"></asp:RequiredFieldValidator>
</div>
<div class="LoginFieldGreen">
    <asp:Literal ID="LiteralConfirmMail" Text="Confirm Mail" runat="server" />
</div>
<div>
    <asp:TextBox ID="TextBoxConfirmMail" runat="server" />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2"  Display="Dynamic" ControlToValidate="TextBoxProspectName" runat="server" CssClass="failureNotification" ErrorMessage="It is mandatory to fill this field"></asp:RequiredFieldValidator>&nbsp;    
    <asp:CompareValidator Display="Dynamic" ID="CompareValidator2" runat="server" CssClass="failureNotification"
  ControlToCompare="TextBoxConfirmMail" ControlToValidate="TextBoxMail"
  ErrorMessage="Emails not matching"></asp:CompareValidator>
</div>
<div class="LoginFieldGreen">
    <asp:Literal ID="LiteralPassword" Text="New Password" runat="server" />
</div>
<div>
    <asp:TextBox ID="TextBoxPassword" TextMode="Password" runat="server" />
    <asp:RequiredFieldValidator ID="RequiredFieldValidatorPassword"  Display="Dynamic" ControlToValidate="TextBoxPassword" runat="server" CssClass="failureNotification" ErrorMessage="It is mandatory to fill this field"></asp:RequiredFieldValidator>&nbsp;    
    <asp:CompareValidator Display="Dynamic" ID="CompareValidatorPassword" runat="server" CssClass="failureNotification"
  ControlToCompare="TextBoxConfirmPassword" ControlToValidate="TextBoxPassword"
  ErrorMessage="Passwords don't match"></asp:CompareValidator>
</div>
<div class="LoginFieldGreen">
    <asp:Literal ID="LiteralConfirmPassword" Text="Confirm New Password" runat="server" />
</div>
<div>
    <asp:TextBox ID="TextBoxConfirmPassword" TextMode="Password" runat="server" />
    <asp:RequiredFieldValidator ID="RequiredFieldValidatorConfirmPassword"  Display="Dynamic" ControlToValidate="TextBoxConfirmPassword" runat="server" CssClass="failureNotification" ErrorMessage="It is mandatory to fill this field"></asp:RequiredFieldValidator>&nbsp;       
</div>
<div class="LoginFieldGreen">
    <asp:Literal ID="LiteralInfoSource" Text="Tell us how did you find us" runat="server" />
</div>
<div>
    <asp:DropDownList ID="DDLInfoSource" runat="server" Width="150px">
        <asp:ListItem Value="GPlay" Text="Google Play" Selected="True" />
        <asp:ListItem Value="WWW" Text="Internet" />
        <asp:ListItem Value="ML" Text="Mercado Libre" />        
    </asp:DropDownList>
</div>
<div class="LoginFieldGreen">
    <asp:Literal ID="LiteralMobilePlatform" Text="Select the appropiate platform of your mobile phone" runat="server" />
</div>
<div>
    <asp:DropDownList ID="DDLMobilePlatform" runat="server" Width="150px">
        <asp:ListItem Value="And" Text="Android" Selected="True" />
        <asp:ListItem Value="Sim" Text="Simbiant" />
        <asp:ListItem Value="BB" Text="BlackBerry" />
    </asp:DropDownList>
</div>
<div class="LoginFieldGreen">
    <asp:Literal ID="LiteralComments" Text="Tell us every comment you have before downloading Control y Seguimiento App" runat="server" />
</div>
<div>
    <asp:TextBox ID="TextBoxComments" TextMode="MultiLine" runat="server" 
        Height="79px" Width="932px" />
</div>
<div>
    <hr />
    <asp:Button ID="btnDownload" Text="Download Controles y Seguimiento App" CssClass="LoginButton" 
        runat="server" onclick="btnDownload_Click"   />
</div>
</asp:Content>
